export function callbackColumns() {
  return [
    {
      title: this.$t('module.tenantManage.requestUrl'),
      key: 'restUrl',
      ellipsis: true,
      minWidth: 140
    },
    {
      title: this.$t('module.tenantManage.resStatusCode'),
      key: 'resStatusCode',
      ellipsis: true,
      minWidth: 60
    },
    {
      title: this.$t('module.tenantManage.tryNum'),
      key: 'tryNum',
      ellipsis: true,
      minWidth: 70
    },
    {
      title: this.$t('module.tenantManage.processInstanceId'),
      key: 'processInstanceId',
      ellipsis: true,
      minWidth: 140
    },
    {
      title: this.$t('module.tenantManage.taskId'),
      key: 'taskId',
      ellipsis: true,
      minWidth: 140
    },
    {
      title: this.$t('module.tenantManage.createTime'),
      key: 'createTime',
      ellipsis: true,
      minWidth: 140
    },
    {
      title: this.$t('module.tenantManage.updatTime'),
      key: 'updatTime',
      ellipsis: true,
      minWidth: 140
    },
    {
      title: this.$t('common.operating'),
      align: 'center',
      fixed: 'right',
      width: 70,
      render: (h, params) => {
        return h('RowTools', {
          props: {
            data: [
              {
                type: 'icon',
                icon: 'ios-list-box-outline',
                text: this.$t('module.launchApp.openDetail'),
                handle: () => {
                  this._launchProcess(params.row)
                }
              },
              {
                type: 'icon',
                icon: 'ios-navigate-outline',
                text: this.$t('module.tenantManage.tryAgain'),
                handle: () => {
                  this._tryAgain(params.row.id)
                }
              }
            ]
          }
        })
      }
    }
  ]
}
